package com.wy.system.domain;

import com.wy.common.annotation.Excel;
import com.wy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 车辆信息对象 sys_car
 * 
 * @author ruoyi
 * @date 2023-03-02
 */
public class SysCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车编号 */
    private Long id;

    /** 车主 */
    @Excel(name = "车主")
    private Long user;

    /** 车牌 */
    @Excel(name = "车牌")
    private String plate;

    /** 车品牌 */
    @Excel(name = "车品牌")
    private String brand;

    /** 车状态 0-正常 1-欠费 2-注销 */
    @Excel(name = "车状态 0-正常 1-欠费 2-注销")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUser(Long user) 
    {
        this.user = user;
    }

    public Long getUser() 
    {
        return user;
    }
    public void setPlate(String plate) 
    {
        this.plate = plate;
    }

    public String getPlate() 
    {
        return plate;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("user", getUser())
            .append("plate", getPlate())
            .append("brand", getBrand())
            .append("status", getStatus())
            .toString();
    }
}
